package com.tms.app.tms.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.tms.app.tms.R;
import com.tms.app.tms.bean.TestBean;

import java.util.List;

/**
 * Created by happy on 2017/8/26.
 */

public class TaskAdapter extends BaseQuickAdapter<TestBean, BaseViewHolder> {
    public TaskAdapter(List<TestBean> list) {
        super(R.layout.item_home_task, list);
    }



    @Override
    protected void convert(BaseViewHolder helper, TestBean item) {

        helper.setText(R.id.item_textView,item.getName());
    }
}
